package com.example.demo.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;

@Data
public class TestBean {

    @ExcelProperty("借款单号")
    @Setter(AccessLevel.NONE)
    private  String loanNo;
    @ExcelProperty("借款时间")
    private String loanTime;

    public void setLoanNo(String loanNo) {
        this.loanNo = loanNo + "hahn";
    }
}
